package com.ly.service;

import com.github.pagehelper.PageInfo;
import com.ly.bean.EasybuyProductComment;

import java.util.List;
import java.util.Map;

/**
@author 李岩
@date 2021/12/14-13:52
@describe
*/
public interface ProductCommentsService {

    /**
     *根据商品id查询该商品的评论信息
     */
    PageInfo<EasybuyProductComment> selectProductCommentsKey(Integer pid,String pageNum) throws Exception;
    //根据商品id统计该商品的评论占比
    Map<String,Object> selectLevelCommentNUmBypid(Integer pid) throws Exception;
}
